@extends('d.layout.index')
@section('con')
<div class="mws-panel grid_8">
 	<div class="mws-panel-header">
     	<span>修改类别</span>
     </div>

     <div class="mws-panel-body no-padding">
     	<form class="mws-form" action="/admin/type/update" method="post">
               <input type="hidden" name="id" value="{{$v['id']}}">
               {{csrf_field()}}
             <div class="mws-form-inline">
                    <div class="mws-form-row">
                         <label class="mws-form-label">父类名称</label>
                         <div class="mws-form-item">
                              <input type="text" name='name' class="small" value="{{$v['pname']}}" disabled>
                         </div>
                    </div> 
               </div>    
     		<div class="mws-form-inline">
     			<div class="mws-form-row">
     				<label class="mws-form-label">类别名称</label>
     				<div class="mws-form-item">
     					<input type="text" name='name' class="small" value="{{$v['name']}}">
     				</div>
     			</div>    			
     		</div>
     		<div class="mws-button-row">
     			<input type="submit" value="修改" class="btn btn-danger">
     			<input type="reset" value="重置" class="btn ">
     		</div>
     	</form>
     </div>    	
</div>
@endsection